package com.kqkj.dyrule.marketing.demo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class MaxwellBean {
    private String type;
    private List<DbRecord> data;
}
//{"database":"gmall_flink","table":"rule_demo","type":"insert","ts":1652171293,"xid":11136,"commit":true,"data":{"rule_name":"2","drl_string":"1","online":"1"}}
//{"database":"gmall_flink","table":"rule_demo","type":"update","ts":1652171354,"xid":11257,"commit":true,"data":{"rule_name":"3","drl_string":"1","online":"1"},"old":{"rule_name":"2"}}
//{"database":"gmall_flink","table":"rule_demo","type":"delete","ts":1652171476,"xid":11477,"commit":true,"data":{"rule_name":"3","drl_string":"1","online":"1"}}